package com.qd.pay.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 退款单扩展参数
 *
 * @author sjk
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("sys_order_refund_params")
public class OrderRefundParams extends Model<OrderRefundParams> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "rid", type = IdType.ASSIGN_ID)
    private String rid;
    /**
     * 扩展参数
     */
    @TableField("param_ext")
    private String paramExt;
    /**
     * 订单ID
     */
    @TableField("order_id")
    private String orderId;

    public void freeData() {
        this.rid = null;
        this.paramExt = null;
        this.orderId = null;
    }

}
